package com.yundian.vo;

import java.util.Date;

/**
 * Sporder entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Sporder implements java.io.Serializable {

	// Fields

	private Integer sporderId;
	private Car car;
	private Integer sporderShopid;
	private Double sporderPrice;
	private Integer sporderSum;
	private Integer sporderState;
	private Date sporderTime;

	// Constructors

	/** default constructor */
	public Sporder() {
	}

	/** minimal constructor */
	public Sporder(Integer sporderShopid, Double sporderPrice,
			Integer sporderSum, Integer sporderState, Date sporderTime) {
		this.sporderShopid = sporderShopid;
		this.sporderPrice = sporderPrice;
		this.sporderSum = sporderSum;
		this.sporderState = sporderState;
		this.sporderTime = sporderTime;
	}

	/** full constructor */
	public Sporder(Car car, Integer sporderShopid, Double sporderPrice,
			Integer sporderSum, Integer sporderState, Date sporderTime) {
		this.car = car;
		this.sporderShopid = sporderShopid;
		this.sporderPrice = sporderPrice;
		this.sporderSum = sporderSum;
		this.sporderState = sporderState;
		this.sporderTime = sporderTime;
	}

	// Property accessors

	public Integer getSporderId() {
		return this.sporderId;
	}

	public void setSporderId(Integer sporderId) {
		this.sporderId = sporderId;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public Integer getSporderShopid() {
		return this.sporderShopid;
	}

	public void setSporderShopid(Integer sporderShopid) {
		this.sporderShopid = sporderShopid;
	}

	public Double getSporderPrice() {
		return this.sporderPrice;
	}

	public void setSporderPrice(Double sporderPrice) {
		this.sporderPrice = sporderPrice;
	}

	public Integer getSporderSum() {
		return this.sporderSum;
	}

	public void setSporderSum(Integer sporderSum) {
		this.sporderSum = sporderSum;
	}

	public Integer getSporderState() {
		return this.sporderState;
	}

	public void setSporderState(Integer sporderState) {
		this.sporderState = sporderState;
	}

	public Date getSporderTime() {
		return this.sporderTime;
	}

	public void setSporderTime(Date sporderTime) {
		this.sporderTime = sporderTime;
	}

}